package org.webscale.json;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;

public class JsonBatchSubmission<T> implements Serializable {

	private static final long serialVersionUID = 5201903706990716181L;
	List<T> batchItems = new ArrayList<T>();
	
	public void addBatchItem(T item){
		batchItems.add(item);
	}

	public List<T> getBatchItems() {
		return batchItems;
	}

	public void setBatchItems(List<T> batchItems) {
		this.batchItems = batchItems;
	}
	
}
